package org.dromara.admin.domain.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import org.dromara.admin.domain.UserDetail;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.system.domain.SysUser;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;



/**
 * 用户详细视图对象 hr_user_detail
 *
 * @author Lion Li
 * @date 2025-09-01
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = UserDetail.class)
public class UserDetailVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 用户ID，与主表ID一致
     */
    @ExcelProperty(value = "用户ID，与主表ID一致")
    private Long userId;

    /**
     * 角色key
     */
    @ExcelProperty(value = "角色key")
    private String roleKey;

    /**
     * 爱签用户唯一识别码
     */
    @ExcelProperty(value = "爱签用户唯一识别码")
    private String accountCode;

    /**
     * 真实姓名
     */
    @ExcelProperty(value = "真实姓名")
    private String realName;

    /**
     * 身份证正面
     */
    @ExcelProperty(value = "身份证正面")
    private String idCardFront;

    /**
     * 身份证反面
     */
    @ExcelProperty(value = "身份证反面")
    private String idCardBack;

    /**
     * 身份证号
     */
    @ExcelProperty(value = "身份证号")
    private String identityCard;

    /**
     * 公司名称
     */
    @ExcelProperty(value = "公司名称")
    private String companyName;

    /**
     * 公司信用代码
     */
    @ExcelProperty(value = "公司信用代码")
    private String companyCreditCode;

    /**
     * 银行开户行
     */
    @ExcelProperty(value = "银行开户行")
    private String bankName;

    /**
     * 汇款账号
     */
    @ExcelProperty(value = "汇款账号")
    private String remitAccount;

    /**
     * 折扣比例
     */
    @ExcelProperty(value = "折扣比例")
    private Long discountRate;

    /**
     * 微信openid
     */
    @ExcelProperty(value = "微信openid")
    private String openidWx;

    /**
     * 支付宝openid
     */
    @ExcelProperty(value = "支付宝openid")
    private String openidAli;

    /**
     * 资方账户余额
     */
    @ExcelProperty(value = "资方账户余额")
    private BigDecimal capitalBalance;

    /**
     * 头像URL
     */
    @ExcelProperty(value = "头像URL")
    private String avatar;

    /**
     * 是否开启账本
     */
    @ExcelProperty(value = "是否开启账本")
    private String openAccount;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 出租方id（仅业务员）
     */
    @ExcelProperty(value = "业务员id（仅业务员）")
    private Long lessorId;

    private String userName;

    private String nickName;

    private String phonenumber;
}
